package com.peas.platform.module.icims.budget.statistics.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.budget.statistics.adapter.repository.DepartmentPerformanceKpiRepository;
import com.peas.platform.module.icims.budget.statistics.adapter.repository.po.DepartmentPerformanceKpiPo;
import com.peas.platform.module.icims.budget.statistics.domain.DepartmentPerformanceKpiDomain;
import com.peas.platform.module.icims.budget.statistics.dto.DepartmentPerformanceKpiDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class DepartmentPerformanceKpiDomainImpl extends BaseDomainImpl<DepartmentPerformanceKpiDto, DepartmentPerformanceKpiPo> implements DepartmentPerformanceKpiDomain {

    @Resource
    private DepartmentPerformanceKpiRepository departmentPerformanceKpiRepository;

    @Override
    public BaseRepository<DepartmentPerformanceKpiPo> getMapper() {
        return departmentPerformanceKpiRepository;
    }

    @Override
    public Class<? extends BaseRepository<DepartmentPerformanceKpiPo>> getRepositoryClass() {
        return DepartmentPerformanceKpiRepository.class;
    }

}
